3D Spinning Donut Using C Code